package xyz.bali16.module.article.model.like;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加点赞参数")
public class LikeAddParam {

    @ApiModelProperty(name = "targetId", value = "收藏名字", required = true)
    @NotNull(message = "帖子id不能为空")
    private String targetId;

    @ApiModelProperty(name = "userId", value = "用户Id", required = true)
    @NotNull(message = "用户id不能为空")
    private String userId;

}
